# -*- mode: python -*-

Import("env")

env = env.Clone()

env.CppUnitTest(
    target="base_test",
    source=[
        "clonable_ptr_test.cpp",
        "counter_test.cpp",
        "data_builder_test.cpp",
        "data_cursor_test.cpp",
        "data_range_cursor_test.cpp",
        "data_range_test.cpp",
        "data_type_string_data_test.cpp",
        "data_type_terminated_test.cpp",
        "data_type_validated_test.cpp",
        "data_view_test.cpp",
        "dependency_graph_test.cpp",
        "encoded_value_storage_test.cpp",
        "initializer_test.cpp",
        "murmurhash3_test.cpp",
        "parse_number_test.cpp",
        "secure_allocator_test.cpp",
        "status_test.cpp",
        "status_with_test.cpp",
        "string_data_test.cpp",
        "system_error_test.cpp",
        "uuid_test.cpp",
    ],
    AIB_COMPONENT="platform",
    PROVE_ALIASES=["server-programmability"],
    LIBDEPS=[
        "secure_allocator",
        "system_error",
    ],
)

env.Benchmark(
    target="status_bm",
    source=[],
)
